<?php
namespace app\services\ai\traits\qq;

trait EffectImage
{
    public function faceMerge($options)
    {
        return $this->request(self::POST, self::API_EFFECT_FACE_MERGE, $this->parseOptions([
            'model' => $options['model'] ?? 1,
            'image' => $options['image'] ?? '',
        ]));
    }

    public function faceSticker($options)
    {
        return $this->request(self::POST, self::API_EFFECT_FACE_STICKER, $this->parseOptions([
            'sticker' => $options['sticker'] ?? 1,
            'image' => $options['image'] ?? '',
        ]));
    }
}